const monely = (value,type,i) => {
    let result = "";
    if(!value){
        return result;
    }else{
        type = type || "USDT";
        i = i || 0 ;
        result = i == 0 ? type+' '+value : value+' '+type;
        return result;
    }
}
function toPercent(value,point){
    point = point || 2
    var str=Number(value*100).toFixed(point);
    str+="%";
    return str;
}
export default{
    monely,
    toPercent
}